#ifndef SHM_CLIENT_H_
#define SHM_CLIENT_H_

int nombreSM (void);
int listaSM (void);
int agregarSM (void);
int removerSM (void);
int salirSM (void);
int commitSM(void);
int mainSM (void);

void sighandINTSM(int signo);
void endCiclesSM(int signo);
void closeAllSM(void);

void * listenSrvSM (void *parmsLS);
void readCommandsSM (void);
int takeSrvSM (char * msg);
void atenderListaSM (char * msg);
void atenderAddSM (char * msg);
void atenderCommOKSM(char * msg);
void atenderCommitSM (char * msg);
void atenderWillUpdateSM (char * msg);
void atenderUpdateSM (char * msg);
void atenderRemoveSM(char * msg);
int makeCommitSM (void);
int listenSM(void);

#endif /*SHM_CLIENT_H_*/
